package com.utility.project.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="CustomerParam", description="新增用戶传参说明")
public class CustomerParam implements Serializable {

    @Schema(description = "对应于小程序的openId", required = true)
    private String username;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "手机号，小程序端不传，则后台自动生成")
    private String phoneNumber;

    @Schema(description = "会员类型，初次创建用户，memberType为0", required = true)
    private String memberType;


}
